<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"
    import="com.utils.*,java.sql.*"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>在此处插入标题</title>
<link rel="stylesheet"
	href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script
	src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<%
	String stu_name = (String) session.getAttribute("stu_name");
	String examname = (String)session.getAttribute("examname");
	String stu_id = (String)session.getAttribute("stu_id");
%>
<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="navbar-collapse collapse">
		<div class="container">
			<ul class="nav navbar-nav">
				<li style="font-size: 18px;"><a>上机考试系统</a></li>
				<li><a href="show_info.jsp"> <span class="glyphicon glyphicon-home"></span>首页</a></li>
				<li><a href="student_submit.jsp"><span class="glyphicon glyphicon-eye-open"></span>查看提交</a></li>
			</ul>
			<ul class="nav navbar-nav" style="float: right">
				<li><a>欢迎 <%=stu_name%> 同学</a></li>
				<li><a href="" data-toggle="modal" data-target="#myModal">更改密码</a></li>
				<li><a href="../StudentLogout"> 退出 </a></li>
			</ul>
		</div>
	</div>
</nav>
<div class="container" style="margin-top: 50px;">
	<h1>
		<%=stu_name%> 同学,考试 <font color='red'><%= examname%></font> 正在进行中...
	</h1>
	<br/>
</div>
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-sm" >
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">
						<b>修改密码</b>
					</h4>
				</div>
				<form action="../ChangeStudentPwd" method="post">
					<div class="alert navbar-inverse "
						style="background-color: #eeeeee; height: auto; margin-top: 20px">
						<input type="password" style="width: 250px" placeholder="原密码" name="oldPwd" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="新密码" name="newPwd1" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="重输新密码" name="newPwd2" class="form-control"> 
						<br />
						<button type="submit" style="width: 250px" class="btn btn-primary">修改</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>